package com.ruoyi.banner.mapper;

import com.ruoyi.banner.domain.Banner;
import com.ruoyi.student.domain.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BannerMapper {

    public List<Banner> queryAll();

    int addBanner(Banner banner);

    List<Banner> queryBannerByname(String pic);

    void updateBanner(Banner banner);

    void deleteBanner(int id);
}
